﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YasharEl.Infrastructure.EntityModel;
using System.ComponentModel.DataAnnotations;

namespace BneyBaruch.Technology.SourcesRepository.EntityModel.Metadata
{
    public class AuthorEntityMetadata : Entity, IAuthor
    {
        #region Entity Overrides

        [Key]
        public override long Id
        {
            get
            {
                return base.Id;
            }
            protected set
            {
                base.Id = value;
            }
        }

        #endregion

        #region IAuthor Members

        [Required]
        public string AuthorName
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        [Required]
        public string AuthorShortName
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public IList<ISource> Sources
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        #endregion
    }
}
